﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace SilverlightDemo.Web.Models
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMonHocService" in both code and config file together.
    [ServiceContract]
    public interface IMonHocService
    {

        [OperationContract]
        List<MonHoc> GetAllMonHoc();

        [OperationContract]
        Boolean InsertMonHoc(ref MonHoc info);
        [OperationContract]
        Boolean DeleteMonHoc(String id);
        [OperationContract]
        Boolean UpdateMonHoc(MonHoc info);
    }
}
